home *** CD-ROM | disk | FTP | other *** search
- global foremovie
-
- on startpictset
- global startpictnum
- if (startpictnum = 1) or (startpictnum = 25) then
- set the castNum of sprite 3 to the number of member "001/025"
- else
- if (startpictnum = 5) or (startpictnum = 8) then
- set the castNum of sprite 3 to the number of member "005/008"
- else
- if (startpictnum = 11) or (startpictnum = 16) then
- set the castNum of sprite 3 to the number of member "011/016"
- else
- if (startpictnum = 12) or (startpictnum = 26) then
- set the castNum of sprite 3 to the number of member "012/026"
- else
- set a to digitchange(startpictnum)
- set the castNum of sprite 3 to the number of member a
- end if
- end if
- end if
- end if
- end
-
- on digitchange num
- set a to num / 100
- set b to (num - (100 * a)) / 10
- set c to num - (100 * a) - (10 * b)
- return a & b & c
- end
-